package Personnel;

import Class.ClassMate;

import Operation.Ioperation;

public abstract class Personnel {
    private String name;

    public Ioperation[] ioperations;



    public Personnel(String name) {
        this.name = name;
    }

    public void doOperation(int choice, ClassMate classmate){
        this.ioperations[choice].work(classmate);
    }

    public abstract int menu() ;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
